/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.openbravo.bean.viewbean;

import com.openbravo.bean.ProductInfo;

import cn.ekuma.data.dao.bean.I_ViewBean;

/**
 *
 * @author Administrator
 */
public class Product_V  extends ProductInfo implements I_ViewBean{
    
	/**
	 * 
	 */
	private static final long serialVersionUID = 560855451761907227L;
	protected String category;
	protected double m_dCustomerPrice;//会员价
	protected double m_dPriceBuy;
    protected double m_dPriceSell;//普通价
    protected double m_dWholesalePrice; //批发价
    protected String m_sTax;
    protected String attributeset;
    
    public int getFieldCount(){
        return 17;
    }

    public String getCategory() {
        return category;
    }

    public String getM_ID() {
        return m_ID;
    }

    public boolean isM_bCom() {
        return m_bCom;
    }

    public boolean isM_bScale() {
        return m_bScale;
    }

    public double getM_dCustomerPrice() {
        return m_dCustomerPrice;
    }

    public double getM_dPriceBuy() {
        return m_dPriceBuy;
    }

    public double getM_dPriceSell() {
        return m_dPriceSell;
    }

    public String getM_sCode() {
        return m_sCode;
    }

    public String getM_sName() {
        return m_sName;
    }

    public String getM_sRef() {
        return m_sRef;
    }

   public int getColCount(){
       return 11;
   }

    public String getAttributeset() {
        return attributeset;
    }

    public int getM_iDurability() {
        return m_iDurability;
    }

    public String getM_origin() {
        return m_origin;
    }

    public double getM_quantity() {
        return m_quantity;
    }

    public String getM_sManufacturer() {
        return m_sManufacturer;
    }

    public String getM_sSimilarCode() {
        return m_sSimilarCode;
    }

    public String getM_unit() {
        return m_unit;
    }

    public void setAttributeset(String attributeset) {
        this.attributeset = attributeset;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public void setM_ID(String m_ID) {
        this.m_ID = m_ID;
    }

    public void setM_bCom(boolean m_bCom) {
        this.m_bCom = m_bCom;
    }

    public void setM_bScale(boolean m_bScale) {
        this.m_bScale = m_bScale;
    }

    public void setM_dCustomerPrice(double m_dCustomerPrice) {
        this.m_dCustomerPrice = m_dCustomerPrice;
    }

    public void setM_dPriceBuy(double m_dPriceBuy) {
        this.m_dPriceBuy = m_dPriceBuy;
    }

    public void setM_dPriceSell(double m_dPriceSell) {
        this.m_dPriceSell = m_dPriceSell;
    }

    public void setM_iDurability(int m_iDurability) {
        this.m_iDurability = m_iDurability;
    }

    public void setM_origin(String m_origin) {
        this.m_origin = m_origin;
    }

    public void setM_quantity(double m_quantity) {
        this.m_quantity = m_quantity;
    }

    public void setM_sCode(String m_sCode) {
        this.m_sCode = m_sCode;
    }

    public void setM_sManufacturer(String m_sManufacturer) {
        this.m_sManufacturer = m_sManufacturer;
    }

    public void setM_sName(String m_sName) {
        this.m_sName = m_sName;
    }

    public void setM_sRef(String m_sRef) {
        this.m_sRef = m_sRef;
    }

    public void setM_sSimilarCode(String m_sSimilarCode) {
        this.m_sSimilarCode = m_sSimilarCode;
    }

    public void setM_unit(String m_unit) {
        this.m_unit = m_unit;
    }

    public String getKey() {
        return this.m_ID;
    }

	public double getM_dWholesalePrice() {
		return m_dWholesalePrice;
	}

	public void setM_dWholesalePrice(double m_dWholesalePrice) {
		this.m_dWholesalePrice = m_dWholesalePrice;
	}

	public String getM_sTax() {
		return m_sTax;
	}

	public void setM_sTax(String m_sTax) {
		this.m_sTax = m_sTax;
	}
}
